package common.service;

import java.util.List;
import java.util.Map;

import common.transaction.TransactionAnnotation;

public interface ICacheService extends IService {
	//获取所有缓存配置数据
	@TransactionAnnotation
	public List<Map<String,Object>> getAllCacheConfig() throws Exception ;
	
	//初始化所有缓存数据
	@TransactionAnnotation
	public void initAllCacheData() throws Exception ;
	
	//根据缓存ID刷新缓存数据
	@TransactionAnnotation
	public List<Map<String,Object>> refreshByCacheId(String cacheId) throws Exception ;
	
	//清空所有缓存数据
	public void clearAll() ;
}
